package com.example.administrator.daydayappmarket.game.fragment.fragments.choiceness.bean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by 郎志奇 on 2016/12/28.
 */

public class GameChoiceRefreshHeader extends GameChoiceMainInfoParent {

    private String image;

    private String id;

    private String topic_name;

    private String topic_title;

    private String title_color;

    @Override
    public void parseJson(JSONObject jsonObject) throws JSONException {


        if (jsonObject != null) {

            theme_type=jsonObject.getString("theme_type");

            JSONObject data = jsonObject.getJSONObject("data");
             image = data.getString("image");
            JSONObject data1 = data.getJSONObject("data");
             id = data1.getString("id");

             topic_name = data.getString("topic_name");
             topic_title = data.getString("topic_title");
             title_color = data.getString("title_color");
        }

    }

    public String getImage() {
        return image;
    }

    public String getId() {
        return id;
    }

    public String getTopic_name() {
        return topic_name;
    }

    public String getTopic_title() {
        return topic_title;
    }

    public String getTitle_color() {
        return title_color;
    }
}
